<template>
  <div class="container-view">
    <div :style="{ minWidth: `${minWidth}px` }">
      <slot></slot>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'modal-wrapper',
    props: {
      minWidth: {
        type: Number,
        default: 750
      }
    },
  }
</script>

<style lang="scss" scoped>
  .container-view {
    overflow-y: hidden;
    overflow-x: scroll;
    width: 100%;
  }
</style>
